
/**
 * @author Johannes Riedmann
 * @author Lukas K�ll
 * @author David Medenjak
 */
public class RaupenRoboter extends Roboter {

    /**
     * this is how far the robot has gone yet in meters
     */
    private float way;

    /**
     * Constructor.
     * @param id Roboter id.
     * @param operationMode Interface specifying it's operation mode.
     */
    public RaupenRoboter(int id, OperationMode operationMode) {
        super(id, operationMode);
    }

    /**
     * Increases the way rolled.
     * @param weg amount of how much way will be increased
     */
    public void increaseWegstrecke(float weg) {
        way += weg;
    }

    /**
     * Gets the way "rolled".
     * @return the robots way
     */
    public float getWegstrecke() {
        return way;
    }

    /**
     * Gets the name of the roboter-type.
     * @return the Roboter type
     */
    @Override
    public String getType() {
        return "RaupenRoboter";
    }
}
